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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passwording a home page link?

Status
Not open for further replies.

ag5t

Technical User
Feb 8, 2002
70
US
I would like to add a link on the home page that says employees only. Employees could click on the link to get to the Intranet. I don't want the IP address or web address of the Intranet to be in the source code. Is there a way I can use Dreamweaver to set the link up so that it is passworded? Thanks.
Marty
 
u should use ASP for this, the links will be:
<a href="ASDASD.asp?id=Employee">Employee Only</a>

in ASDASD.asp
<%
if(request("id")="Employee") then
response.redirect "IP OF LAN"
end if
%>

one more thing, unless this link is password protected such encdyption would be waste, so u may want to first check if it is only an employee that clicked the link...

Known is handfull, Unknown is worldfull
 
in simple HTML and JS:

:--------------------------------------------------------------------------:
fugitive.gif

ok,ok...I did shoot the deputy but he told me he was the sheriff!
:--------------------------------------------------------------------------:
 
if you use php just set up a session id on that page like "12423526622" that will be hard to guess and then just check for that id on each page of the site.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top