-
Data Passing - Javascript
Hi, thanks for looking.
I have a username/password protected folder on my website.
Access to a page in this folder displays the standard username/password dialog box.
Can javascript store, and when called (via a link??), 'pass' the appropriate userid/password from a page (link?) and into the appropriate username/password fields?
Project Background
I'm using eBook software to create some content and then, without user intervention, I want to invisibly login to the protected folder. The page/s within the protected folder will be displayed within the eBook (and not in the browser, but it will use the browser engine - IE - to display them).
Why??
I can successfully view webpages from within the eBook, but they are shown in the history tab of IE. I do not want users to gain access to restricted pages via the history listing.
Thanks in advance (crazy I know).
Marcusg
-
-
Javascript is a client-side programming language, meaning that it doesn't have access to any of your computer's inner workings. Also, Javascript code is visible to the web user.
There are many different types of encrypting the code, however it merely creates a false sense of security because there are a multitude of programs to unencrypted the data. The browser may also not be able to decipher the encryption, depending on the version, thus creating even more of a problem.
Another "popular" security measure that some developers use is to hide, or disable, the ability for the browser to output its source code. Again there are many programs to get around this. This is also not an ideal solution, because the user has the ability to turn off javascript in some browser's thus negating the developers security.
The rule of thumb is to send all sensitive data through the "POST" method in a form, and process any secure data on the server-side, meaning not viewable to the web. If your website has access to PHP, I would suggest that, because its free, fairly easy to learn, and gives you all the abilities you need for processing this type of info
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks