Re: duda sobre seguridad
| From: | Xytras | Date: | Mon, 05 Apr 2004 18:29:25 +0000 |
| Subject: | Re: duda sobre seguridad | ||
| References: | 1 2 | Groups: | php.general.es |
| Request: | Send a blank email to general-es+get-47469@lists.php.net to get a copy of this message | ||
Checando sobre ese tema encontre lo siguiente:
Authentication example
If you jumped directly to this part of the document to find out how to do authentication, it is important to note one thing. There is a common misconception that you are required to use |.htaccess| files in order to implement password authentication. This is not the case. Putting authentication directives in a |<Directory>| section, in your main server configuration file, is the preferred way to implement this, and |.htaccess| files should be used only if you don't have access to the main server configuration file. See above for a discussion of when you should and should not use |.htaccess| files.
Having said that, if you still think you need to use a |.htaccess| file, you may find that a configuration such as what follows may work for you
http://httpd.apache.org/docs/howto/htaccess.html
Mi cuestion es la siguiente, estoy buscando la forma de autentificr usuarios mas simple en cuanto a rendimiento del server, pero que tambien sea lo suficientemente robusta, al guien ha hecho lo que dice el howto? usando <Directory> en httpd.conf en vez de .htaccess ???
Xytras
Fernando Gómez wrote:
Básicamente la seguridad es la misma, siempre que sepas cómo tratar los usuarios y contraseñas desde PHP. Los dos sistemas de autentificación hacen lo mismo más o menos, encriptar y comparar con la clave ya encriptada. El único problema es enviar los datos de usuario de un formulario a otro, que debe hacerse mediante conexión segura (SSL). Resumiendo, en seguridad son "lo mismo", pero PHP ofrece el poder dejar más bonito todo. El sáb, 03-04-2004 a las 19:33, Xytras escribió:Buen fin de semana a todos tengo una duda sobre seguridad, que es mas conveniente, poner una pagina protegida con php-mysql o usar el .htaccess de apache? es sobre un suse linux 9