Link to home
Start Free TrialLog in
Avatar of senthil_krn
senthil_krn

asked on

Security

Hi,

I created a webpage(Say Page A) asking the userId and Password,after the user entering the ID,password i am sending to the CGI program in a server,there i am checking .If the UserID and Password  is correct i am allowing to access another page(Say page B)

Suppose if the users knows the page B 's URL ,he can directly type the URL of Page B and he will enter in to the page B.Then what is the security ?then why we need the first page(Page A)UserID and Password.How i will protect the user directly entering in to the particular page instead of entering in to the UserId and Password page.please Help Me.
Avatar of Christian_Wenz
Christian_Wenz

you can try setting a cookie if the user enters the correct username/password combination, and make page B require this cookie.
However, why don't you just password-protect page B using htaccess?
ASKER CERTIFIED SOLUTION
Avatar of mouatts
mouatts

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ozo
@
Avatar of senthil_krn

ASKER

Sorry i am new to this Concept can u give a code.
what kind of web server are you currently using? do you have cgi access?
I am Using a NetscapeServer (Webserver version 3.6) and i am having cgi access.