Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

login page

Status
Not open for further replies.

greyone

Programmer
Dec 14, 2000
200
CA
i have a login page which checks for the username and password and if in the database it links to a new page.
Now my problem is that whenever i click the submit button a security alert is shown which is pretty disturbing. Is there any way out to disable this through javascript. Please help
 
no there isn't a way - not no I won't help... jared@aauser.com
 
probably something about submitting data across insecure lines, it is a browser preference that you can't access with js jared@aauser.com
 
You're right that you couldn't solve that with JS, but there still may be a solution, such as running an SSL connection. I'd like more information about what the problem is before dismissing it as unsolvable.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
yeah, Its not insolvable at all... you probably could solve it using an SSL and/or instructing the user how to change his browser prefs, but I think he wanted a JS solution...

oh well, if we can help let us know jared@aauser.com
 
The security alert is as follows:

You Are about to send information to the Internet zone. It might be possible for other people to see wqaht you are sending. Do you want to continue

there is a check box too to disable it but i guess by defalut this security alert is always enabled. i want to disable the alert since i have developed an application for INTRANET and so it is pretty disturbing
 
If its on an intranet and you control the machines, you could disable it, or enfore a security profile and make your site a trusted site... that might help jared@aauser.com
 
but is there a way to disbale this through javascript
 
Well, you can try using jscript in windows scripting host - this will not work off a site. you have to install windows scripting host jared@aauser.com
 
but then is there no other way. But i think i have seen some sites where on form submit even if security alert is enabled it dosen't pop up. I wonder how they do that?
 
No, a message such as that is completely browser dependent. The only way to avoid it is to remove the trigger event, such as making your site trusted amongst all of your users. In most cases, the general population either turns off those annoying messages or simply ignores them. There is no client-side programming solution, nor a server-side programming solution. That is a user issue.
Sincerely,

Tom Anderson
CEO, Order amid Chaos, Inc.
 
with my last post, I meant each machine has to have it installed, by the way, not just you, and you have to locally run the file on each machine - probably easiser just to manually do it :) jared@aauser.com
 
The message:
"You Are about to send information to the Internet zone. It might be possible for other people to see wqaht you are sending. Do you want to continue.."

is a normal browser message. The user will have to change this. You have NO control over the users maching with JavaScript, or other scripting language. Microsoft designed it this way, so there will be no tampering with anyone's hard drive.
Every user who has a browser has seen this and it is very normal. When my users call me with this and I tell them there is a check box to disable it.
By defalut this security alert is always enabled.

Unless and even if you have developed an application for your INTRANET, it still comes up.

I hope my ramblings helped.


(been there done that)




The door to life is never locked, but few have the knowledge to open it.
 
"Unless and even if you have developed an application for your INTRANET, it still comes up." --> here the sysadmin have total control on every user of the intranet 's machine, so they can access the config file for the browser, and "uncheck" the box for every user
sounds like a "big brother" management : total control on all the machines .... but really nice for developpers tho ;]
 
Where does the config file live???

I thought it was a registry thing?

(Big Brother is Microsoft) 8(
The door to life is never locked, but few have the knowledge to open it.
 
well i was not sure about the config files, because they have access both to any file AND the registry, so that doesn't really matter where the info lies : "they" know where it is and "they" can update it ;]
hey, big browser is ie LOL
(big brother is a hell to live, but a paradise to develop ;-))
 
bigfoot, you can edit the registry and config files with javascript, but only locally, and using the windows scripting host jared@aauser.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top