Protecting the port 80

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Protecting the port 80

Postby unknown1 » 04. January 2011 01:16

I need to Protect My index page with a password But how do i do that???
unknown1
 
Posts: 5
Joined: 05. September 2009 04:42

Re: Protecting the port 80

Postby Altrea » 04. January 2011 01:20

Your topic is misleading.

There are several possibilities to password protect a site.
It depends on the reasons why, against what and what you want exactly protect. After that we can see whats the right protection for you.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Protecting the port 80

Postby unknown1 » 04. January 2011 01:21

I just need it Protected Cause I'm Developing a CMS and i cant let anyone visit without a password
unknown1
 
Posts: 5
Joined: 05. September 2009 04:42

Re: Protecting the port 80

Postby Altrea » 04. January 2011 01:24

So you are the only person who needs access to the site?
Than you should have the site in it's own folder and use .htaccess with a HTTP authentification as protection.
Thats the easiest way.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Protecting the port 80

Postby unknown1 » 04. January 2011 01:31

Yeah! But i also want beta tester to test my Site out i dont want Just Random People Able to access it
unknown1
 
Posts: 5
Joined: 05. September 2009 04:42

Re: Protecting the port 80

Postby Altrea » 04. January 2011 01:36

You can simply give the beta testers the user and password to the site, or create their own username password combination in the htpasswd file.
Do you know any disadvantages for this?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Protecting the port 80

Postby unknown1 » 04. January 2011 02:26

Nope i just want it to be protect
unknown1
 
Posts: 5
Joined: 05. September 2009 04:42

Re: Protecting the port 80

Postby Sharley » 04. January 2011 02:36

You could use the tools in this link to help you with .htaccess and .htpasswd file creation:
http://www.htaccesstools.com/

Also there are tools in the apache\bin folder that would do the job but much easier to use the above linked files.

You would normally put the .htaccess file in the root folder of the web site you wish to password protect and the .htpasswd file in a non public accessible folder like \xampp\security.

Google may find other helpful tools for this kind of work.

Best wishes and good luck.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 113 guests