Solved

Restrict access to a link

Posted on 2006-11-28
7
170 Views
Last Modified: 2010-04-25
I want to restrict access to a link on my site that redirects to another site. My sernaio is this, i have a peice of software that is installed over the web, the main page for this software is not secured and I don't have access to it to change this. I have hidden text on my site that redirects to the other site but I want to require a un/pw before the redirec takes place. Is there a simple way to do this?

I am by no means a seasoned developer. My skills are basic and I'm using DW8.........thanks....
0
Comment
Question by:cebrooks03
  • 3
  • 3
7 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 18031853
Hi cebrooks03,

There are a number of ways to protect a page or a directory.  DW8 has built-in User Authentication behaviors for PHP, ASP, and ColdFusion servers and you could use one of those in conjunction with a database of usernames and passwords to limit access to the page with the redirect.  

Alternately, and somewhat simpler, you could place the redirect page in a subdirectory and use a .htaccess and .htpasswd file to password protect it.  This is a little simpler to set up (assuming you are running Apache.  There is an equivalent function on IIS servers) in my opinion, but only if you want one username and password pair for all users OR if you have very few users that need access.
0
 
LVL 25

Expert Comment

by:Rouchie
ID: 18034732
Hi cebrooks03

Jason's answer is totally correct.  

.htaccess is the simplest method by far but won't run on a windows server because windows doesn't allow zero-length file names.  You will have to contact your host to find out which one of Jason's methods are permitted on your hosting package, as the database suggestion will only work if you have a server-side language enabled, which can cost more money.
0
 
LVL 1

Author Comment

by:cebrooks03
ID: 18050674
Jason,

I am running and IIS server and the single un/pw is exactly what I need. I will look into the IIS option. Thanks for the help....
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 18050693
Ok, good luck.  I think the equivalent function on IIS is setting the Execute Permission on the folder in question, but don't quote me on that.
0
 
LVL 1

Author Comment

by:cebrooks03
ID: 18050719
Jason,

Forgot to ask you what this feature is called, would make finding it a little easier! Thanks.....Chris
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 18050773
See above.
0
 
LVL 1

Author Comment

by:cebrooks03
ID: 18051370
got it. thanks....
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Modify Area Above Editable Region In DW Template. 6 454
Rotating Adobe pdf document 4 310
Adobe Indesign CS6 4 96
.dwt files not viewable in browser - why? 2 72
For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now