Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
Deny file uploading
« previous
next »
Print
Pages: [
1
]
Author
Topic: Deny file uploading (Read 3942 times)
itn
Newbie
Posts: 2
Karma: 0
Deny file uploading
«
on:
August 25, 2017, 03:08:45 pm »
Hi everyone.
How can i deny access to file uploading over web-browser?
In looking for answer i found this:
acl fileupload req_mime_type -i multipart/form-data
http_access deny fileupload
I pasted to squid.conf but nothing changed.
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Deny file uploading
«
Reply #1 on:
August 25, 2017, 06:51:27 pm »
pasting is not enough, you have to reload the configuration and if you have not added this change correctly, your configuration will get overwritten.
Logged
itn
Newbie
Posts: 2
Karma: 0
Re: Deny file uploading
«
Reply #2 on:
August 30, 2017, 01:47:14 pm »
Thnx. I reloaded the configuration and my pasting stayed in squid.conf but nothing changed again.
You have other idea what could be wrong? And what squid.conf i have to edit?
/usr/local/opnsense/service/templates/OPNsense/Proxy/squid.conf
/usr/local/etc/squid/squid.conf
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Deny file uploading
«
Reply #3 on:
August 30, 2017, 02:06:26 pm »
The template is more permanent and you can reload via GUI and check the actual squid.conf contents... But still overwritten by any firmware upgrade unless we add a GUI input for this to store it permanently.
There are also plugin directories for persistent files. A forum search should reveal them.
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
Deny file uploading