# Editing and security with .htaccess

**URL:** <https://forum.kirupa.com/t/editing-and-security-with-htaccess/208006>\
**Category:** web dev\
**Created:** [November 23, 2006, 8:01pm UTC](https://forum.kirupa.com/t/editing-and-security-with-htaccess/208006 "2006-11-23T20:01:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Macro\_design](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Macro\_design](https://forum.kirupa.com/u/Macro_design)\
**Post date:** [November 23, 2006, 8:01pm UTC](https://forum.kirupa.com/t/editing-and-security-with-htaccess/208006/1 "2006-11-23T20:01:53Z")

</div>

Hi

I’m currently updating a site with a similiar approach the guestbook tutorial on this sides uses to add entries, which is writing to a .xml file through flash with a little help from a .php script.

Now, I don’t want anyone to update this side without a password. I was wondering if I could let any given .xml file in my public\_html folder be writable as long as I protect the flash and .php file with .htaccess?

Thanks in advance :s:
