Windows 2008 R2 (and others), System Properties, Advanced tab, Performance - Settings button, Data Execution Prevention tab
DEP can be turned off per program or completely here.
What is best practice for Sybase SQL Anywhere in this regard?
It should always be safe to run SQL Anywhere with DEP enabled. Moreover, just as Microsoft did for 64-bit software, I'd enable DEP everywhere on 32-bit systems. If you encounter a problem, ensure it is not due to malware then look for updates that are compatible with DEP and, if none are available, disable DEP for that particular process. There weren't many programs that legitimately executed code from data pages -- I think I recall that some printer drivers did it.
answered 22 Sep '11, 22:34