Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web application security #32

Open
vieridipaola opened this issue Jun 4, 2022 · 0 comments
Open

web application security #32

vieridipaola opened this issue Jun 4, 2022 · 0 comments

Comments

@vieridipaola
Copy link

Hi,

index.tsx contains:

if (window.location.hostname && window.location.hostname !== 'localhost') {
    alert('This application stores passwords in the local storage. This should not be done on a website.');

    throw new Error('Unsecure enviornment');
}

Does this mean it is risky to publish the js/html site on the Internet?
Does this mean it stores passwords in, eg., Firefox's "local storage" (F12 console)?
If so, can this be avoided and only set as a session variable?

Also, jsxc-single-page does not get along with Apache modsecurity. I keep getting XSS attack alerts, and the connections are being denied.

Any thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant