Question: An .htaccess file is uploaded to a directory via ftp, the owner and group of the said file is then generally the ftp user and / or root.

If the said directory had file permissions set to 0777 would it at all be possible for a remote script to write over the said .htaccess file, or would every attempt always be blocked as the owner and group of the .htaccess file is the ftp user (and the root), and the hacker (depending on which port they were attempting to enter through) will not be logged into the server as the ftp user (and hopefully not the root user either).

The reason I ask is because I have the need for a directory to be permissions 0777 and am concerned that the .htaccess file (which prevents scripts from running in the said directory) could simply be overwritten meaning the said server would be vunerable to attack.

Thanks,
John

Answer: 
The correct way to do it:

1. Put them both in a container with `position:relative;`.
2. Put `position:absolute;` on the H1 only.
3. Put `z-index:1` on the H1 only.
4. Alter `left`, `right`, `top`, `bottom` offsets of the H1 according to needs.
5. Profit.
6. Profit some more because you didn't break the flow of other surrounding elements.

<http://jsfiddle.net/Trv2n/>
For image 

```
   z-index:1;
   position: relative;

```

For heading

```
    z-index:10;
    position: relative;

```