I've got a page with Umbraco forms installed and a contact form set up.
Now the customer requested to lock backend access by ip address. I successfully implemented the ipsecurity feature from iis. So far this worked without a problem. But since I’ve locked the Umbraco folder for unauthorized visitors the contact form cant access the backend either. Which means the contact form won't send.
My question is, how to lock the Umbraco backend for unauthorized access but still being able to use api's on the frontend that need to access Umbraco's backend.
Backend IPSecurity with Umbraco Forms
Hi everyone
I've got a page with Umbraco forms installed and a contact form set up.
Now the customer requested to lock backend access by ip address. I successfully implemented the ipsecurity feature from iis. So far this worked without a problem. But since I’ve locked the Umbraco folder for unauthorized visitors the contact form cant access the backend either. Which means the contact form won't send.
My question is, how to lock the Umbraco backend for unauthorized access but still being able to use api's on the frontend that need to access Umbraco's backend.
Any ideas?
Did you update with nuget or did you update by manually copying the files? Did you follow the version specific update guide? https://our.umbraco.com/documentation/getting-started/setup/upgrading/version-specific
Hi Timon
You can lock the access to umbraco via a web.config rewrite rule.
Add this to the systam.webServer section in your web.config.:
Hope this helps!
Cheers
Hi Severin
Thanks a lot! That totally did the job for me!
Cheers
@Timon: I don't know why you keep flagging a comment in this thread as spam, there's no spam to be found.
is working on a reply...