I am attempting to run a stored process from an IIS server. However the process is blocked and the user sees the following error.
You attempted to access a SAS application by using the following URL:
The URL has been blocked because it came from an untrusted site, which might be attempting a malicious attack.
My stored process has an address somewhat like http://myssitename.domainname.com/example_process.htm
In application management, configuration manager, SAS application infrastructure, I have the following settings.
| sas.web.csrf.refers.allowNull | true |
| sas.web.csrf.refers.blacklist | |
| sas.web.csrf.refers.knownHosts | http://mysitename.domainname.com/ |
| sas.web.csrf.refers.performCheck | true |
| sas.web.csrf.refers.skipMethods | |
| sas.web.navigation.knownHosts | http://mysitename.domainname.com/ |
So can anyone tell me why the user is still blocked from running the stored process?
Note: if i set performCheck to false, the stored process works and the user is prompted to logon to SAS and can run the stored process,
| sas.web.csrf.refers.performCheck | false |
That works...but that defeats the the purpose of the whitelist.
Hi @_Ryan_,
Similar query answered here - https://communities.sas.com/t5/SAS-Visual-Analytics/URL-referer-from-internal-site-to-SASVisualAnaly...
After many attempt and per last response from SAS tech support I took out the trailing slash and
only one entry and everything started to work.
So it looks like if you are redirecting from a SAS URL you need to add the trailing slash
but if you are redirecting from a different site in my case
internal site you don't need the trailing slash.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
Learn how to explore data assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.