Jump to content
xisto Community
Sign in to follow this  
ComeToLife

Accessing Password-protected Urls Tryin to figure out access...

Recommended Posts

Ok soo....I have different authentification required areas of a website I'm currently working on, and I'd like to find a way to link to one pass. protected area from another, after someone's already logged in...but each time the Popup window comes up asking for the username and password...anyone know a way around this other than programming a php a java password protection script? I'd really prefer to use the server's method, as it's much more concrete.

I've seen some information about a syntax along the lines of:

https://www.salesforce.com/products/platform/overview/

But it doesn't seem to work, and I believe that's really only applicable for ftp use. Maybe I just have the wrong syntax, either way, I'm not sure and could use some help. Thanks a lot!!

Share this post


Link to post
Share on other sites

I think there is a way to set and check cookies or session_id's using a php script in the password verification part of their first log-in. I am not a php coder, so I am only suggesting an alternative. I've seen some scripts that do that, but I don't have a link to a tutorial for it. sorry.Then, whenever a user enters a password protected area of your site, check to see if the cookie or session_id has been previously set. If it is good, then bypass the log-in portion of the script.

Share this post


Link to post
Share on other sites

Do you happen to know if that works alongside the CPanel Authentification? I'm really not sure how CPanel checks it's passwords. That actually might be somethin' good to know, but I haven't found any info on CPanel's Authenification System. Thanks for the suggestion, I'm definitely going to look into that!!

 

 

 

I think there is a way to set and check cookies or session_id's using a php script in the password verification part of their first log-in. I am not a php coder, so I am only suggesting an alternative. I've seen some scripts that do that, but I don't have a link to a tutorial for it. sorry.

 

Then, whenever a user enters a password protected area of your site, check to see if the cookie or session_id has been previously set. If it is good, then bypass the log-in portion of the script.

219991[/snapback]

Share this post


Link to post
Share on other sites

Ummm, cpanel has to do with your account here at the trap. I don't think there is anything in cpanel that you can use for the website password thing unless you use cpanel to build a mysql database for that purpose. In any case, the cpanel password should not be confused with the access to a section of your site.
The cpanel password is for YOU to access the cpanel. I guarantee there will be trouble if you give users your cpanel access. they will then be able to add / delete files, change security settings, all kinds of nasty stuff.
Do a search for login scripts here on this forum by using the search feature found in the breadcrumb list near the top of every page to see what you can come up with.

Here is a link to the search feature: http://forums.xisto.com/topic/68-web-design/

Share this post


Link to post
Share on other sites

The CPanel's I've used in the past had options to make certain areas of your website "Protected" I figured CPanel was basically the gui and build for online web-editing...

 

Ummm, cpanel has to do with your account here at the trap. I don't think there is anything in cpanel that you can use for the website password thing unless you use cpanel to build a mysql database for that purpose. In any case, the cpanel password should not be confused with the access to a section of your site.

The cpanel password is for YOU to access the cpanel. I guarantee there will be trouble if you give users your cpanel access. they will then be able to add / delete files, change security settings, all kinds of nasty stuff.

Do a search for login scripts here on this forum by using the search feature found in the breadcrumb list near the top of every page to see what you can come up with.

 

Here is a link to the search feature: http://forums.xisto.com/topic/68-web-design/

219999[/snapback]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.