# Htaccess

**URL:** <https://forum.kirupa.com/t/htaccess/213612>\
**Category:** Uncategorized\
**Created:** [January 21, 2007, 5:48pm UTC](https://forum.kirupa.com/t/htaccess/213612 "2007-01-21T17:48:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vini](https://avatars.discourse-cdn.com/v4/letter/v/c77e96/32.png) [@vini](https://forum.kirupa.com/u/vini)\
**Post date:** [January 21, 2007, 5:48pm UTC](https://forum.kirupa.com/t/htaccess/213612/1 "2007-01-21T17:48:54Z")

</div>

Can anbody plz help me… how to protect a directory or folder with “htaccess” in PHP?

How to create a password protection page with sessions(start/expire) in Php to a SQL server or a particular page?

Thanks in Advance
