Remove Restrictions

Ive been trying to use OwnCloud on several occasions, however I keep running into issue syncing files. For example it cannot upload .htaccess file or .cs. Is there anyway I can remove all restrictions on file types? I keep finding a way to allow one certain file types and then find another exception.

The biggest issue I found is when I reset my PC I realised it hadnt synced a load of files and so had to restore from a backup.

Any ideas how to allow all types of files?

.htaccess is hardcoded because you can mess up your webserver configuration: