similar to: Securing pages

Displaying 20 results from an estimated 30000 matches similar to: "Securing pages"

2006 Mar 09
7
How to restrict access to admin part of the page?
Hi! What is the easiest way to restrict access to some part of the page? In php i just put .htaccess and .htpasswd files in /admin folder and it worked. Now i''ve got one admin folder for controllers, one for views, public folder and i''m not really sure if it''s still possible. So what is the easiest way? I don''t have any user logging features on my site,
2008 Apr 18
2
Can't get .htaccess to work
Hi, I'm trying to password protect one of my web accessable directories and I can't get .htaccess to work in a Centos 5.1 box Here's what I did I created an .htaccess file with the contents: AuthName "Restricted Area" AuthType Basic AuthUserFile /home/mysite/.htpasswd AuthGroupFile /dev/null require valid-user and I uploaded it to the dir I want to protect. Then I
2005 Jul 23
2
CentOS 4 snag with htaccess
I'm hitting a snag with htaccess. Have created .htaccess and .htpasswd files, set up apache directory options just like always... the exact same setup works fine on CentOS 3, but I can't seem to get it to authenticate on CentOS 4? Am I just being blind stupid (as in not seeing something 'exactly the same') or is there something different I'm missing? I have selinux running
2013 Feb 13
1
htaccess is not working
Hello, I'm new here, and after trying by myself, I'm looking for some help ... I have installed webalizer, on my CentOS 6 server. Root path for webalizer is /var/www/usage/ It's working, but after putting a .htaccess in /var/www/usage/ and the appropriate .htpasswd in /var/www/html/auth/ there is no password asked. Here are my files : .htacess : AuthName ?Veuillez vous
2006 Sep 06
2
.htaccess in public and adding password protection
While my site is in development I wish to add basic password protection. At the moment my .htaccess looks like this: AuthName "Restricted Area" AuthType Basic AuthUserFile /home/httpd/mydomain.co.uk/.htpasswd AuthGroupFile /dev/null require valid-user .htpasswd exists and has an entry, yet I do not get a password prompt? Does Apache Auth work for dynamic resources or only static
2006 Mar 12
5
Authentication and authorization of static content
Hello, I''m a Java programmer looking to make my life easier. Thus, I''m considering using Rails for my next project. I''ve read chunks of the Agile book and it looks like authorizing users at the Controller level is dead easy to do. However, I have a need to password protect static content in my site. In the J2EE world, I would use a servlet filter to intercept
2006 Aug 07
1
htaccess htpasswd and satellite connections
Yeah, maybe this is a bit on the edge.... I am discovering several issues with users on satellite internet connections not being able to authenticate via a htaccess/htpasswd system. Some users cannot connect at all, some can connect reliably.. and some are hit and miss.. works one day and not the next. Yet those same users can log in fine if they switch back to their dialup system. Has
2005 May 16
1
htaccess authentication asks for MySQL table test.user_info
Hello. I tried to create an access file with 'htpasswd -c /etc/httpd/conf/myfile.htaccess testuser'. In the SSL directory I have put a .htaccess file containing the followings: AuthUserFile /etc/httpd/conf/myfile.htaccess AuthName "Mydomain" AuthType Basic require valid-user This worked with CentOS 3. Now with CentOS 4, apache version 2.0.52, the access to the page is
2009 May 27
2
Where to put .htpasswd
Hi All, Where is the proper place to put .htpasswd so I can password protect directories in /var/www/html? /etc/httpd/run? -Jason
2012 Jan 15
1
puppet client server connection refused when I use puppet kick
I have very strange problem. I set up puppet client on serveral servers but have problem with one of them. When I invoke: root@www ~ # puppet agent --server puppetmaster.domain.ltd --test notice: Ignoring --listen on onetime run info: Caching catalog for puppetclient.domain.ltd info: Applying configuration version ''1326444431'' notice: Finished catalog run in
2008 May 02
3
CruiseControlRb behind apache
I managed to find this in the archives, so far: http://www.nabble.com/Setting-up-CCRB-behind-apache-proxy-tt14016053.html#a14099749 Found a better alternative to doing this in my .htaccess instead of messing with the httpd.conf, in case someone is interested: --- snip --- RewriteEngine On ### for cruisecontrol RewriteBase / RewriteRule ^(.*)$ http://localhost:3333/$1 [P] AuthType Basic
2009 Sep 19
2
Apache configuration: minor problem with special characters
Hi, I'm currently fiddling with protecting sections of a website with .htaccess. Here's an example: <Files .htaccess> order allow,deny deny from all </Files> AuthUserFile /etc/httpd/htpasswd AuthName "L'acc?s ? ce site est restreint." AuthType Basic require valid-user The configuration works OK (after having created a valid user), but unfortunately,
2005 Jul 14
0
htaccess authentication asks for MySQL table test.user_info
Hello. For users interested in the MySQL authentication problem for SSL pages, there is another way to prevent mod_auth_mysql to do this mySQL authentication. This has been reported by Brent: In the /etc/httpd/conf/httpd.conf file, add the directive: <Directory xxxxxx/ AuthMySQLEnable off AllowOverride All </Directory> You can also add it to your .htaccess file. Thanks
2008 Apr 24
0
.htaccess for script aliased directories
With the great assistance I got here I was able to get .htaccess to work on a centos 5.1 box running Apache 2.2.3 a few days ago. One other question. I am trying to protect a sub dir within the web space of a domain that is serving site statistics of awstats generated pages. The path to the dir is /home/user1/www/awstats. When testing, I am able to get a username and password prompt for the
2008 Apr 06
4
Apache Authorization Access Control - location of htpasswd in Centos 5.1?
Hi, I?m trying to set up a private family web site for genealogy, and want to set up Apache Authorization access control for this site, and once the user has logged in has access to the entire site. I?ve been reading the info at http://httpd.apache.org/docs/2.2/howto/auth.html to learn how to do this. I?m just planning on passing out the same username and password to all family members and
2006 Mar 24
2
Basic Auth in WEBrick
Yo all, All I want to accomplish at this moment in time is simple password protection around a rails application in development using WEBrick on a custom port. Just one account would be fine. I have done an extensive Google hunt for an example, but I all find are code chunks for starting WEBrick such as: realm = "Gnome realm" start_webrick {|server| htpasswd
2015 Feb 16
2
listener authentication
Thomas, Thanks for your quick reply. I am looking at htpasswd. I am using 2.41 on Windows 7 with BUTT. I have read the documentation but I don't understand where to enter this in the config file. <mount> <mount-name>/example.ogg</mount-name> <authentication type="htpasswd"> <option name="filename" value="myauth"/> <option
2005 Jun 23
3
Using more than one passwd program
Hello Everybody, i try to use more than the common: passwd program = /usr/bin/passwd %u what i try to do is a passwd program = /usr/bin/passwd %u && /usr/bin/htpasswd /location/of/file %u it works perfect with /usr/bin/passwd... but i just can?t get it to make an entry to /usr/bin/htpasswd can someone please help me best regards Alex
2007 Mar 12
1
Basic authentication with Apache and Mongrel
I recently moved an app. from lighttpd + fastcgi to apache 2.2 + mod_proxy_balancer + Mongrel. On lighttpd, I was using basic authentication with a configuration like this: auth.backend = "htpasswd" auth.backend.htpasswd.userfile = "/path/to/htpasswd" auth.require = ("/" => ("method" => "basic", "realm" => "My
2008 Apr 06
2
Apache Authorization Access Control - location of, htpasswd in Centos 5.1
I don't think it's the path of htpasswd that's the problem but here it is anyway: /usr/bin/htpasswd. The problem is more likely that the directory you're trying to create the password file in with the command "htpasswd -c /passwd/passwords famsite" doesn't exist. Iain Lee -- This message has been scanned for viruses and dangerous content by MailScanner, and is