# Secure a .php script?

**URL:** <https://forum.kirupa.com/t/secure-a-php-script/170166>\
**Category:** programming\
**Created:** [November 23, 2005, 11:36am UTC](https://forum.kirupa.com/t/secure-a-php-script/170166 "2005-11-23T11:36:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashleek007](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@Ashleek007](https://forum.kirupa.com/u/Ashleek007)\
**Post date:** [November 23, 2005, 11:36am UTC](https://forum.kirupa.com/t/secure-a-php-script/170166/1 "2005-11-23T11:36:04Z")

</div>

Hi,

I’ve got a .php script that every page in my site uses.

I don’t want anybody else to see this file or be able to hack into it.

How would i do this? would it work if i placed it in an SSL folder?

cheers  
Ash
