• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF10 enterprise - how to disable cfexecute for all sites (sandbox)

Community Beginner ,
Mar 06, 2014 Mar 06, 2014

Copy link to clipboard

Copied

Hello,

I have a new CF10 server which I will be using as shared hosting for my clients.

I would like to disable the following tags and functions globally:

TAGS
CFCONTENT
CFFILE
CFDIRECTORY
CFEXECUTE
CFOBJECT
CFREGISTRY

FUNCTIONS
GetProfileString
SetProfileString
CreateObject

I know in CF10 Standard I can block these for all sites using 'resource security', this will stop these tags from running at all.

In CF10 Enterprise I have the option to create multiple sandboxes, but is it possible to create one global sandbox for all sites?

My directory structure looks like:

D:\sites\site1

D:\sites\site2

D:\sites\site3

Can I create a sandbox disabling the above tags and functions just for D:\sites and all subfolders?

I have tried but it does not seem to work - I have a sandbox setup for D:\sites with the above tags and functions disabled, but using a test script I can still use cfexecute in site1 to execute netstat.

I do not wish to create a sandbox for each site as when new sites are added I would need to manually add a sandbox each time.

If anyone has any ideas it would be most appreciated.

Cheers

Luke

Views

564

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 25, 2014 Mar 25, 2014

Copy link to clipboard

Copied

I would be most greatful if someone has any advice to offer?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 25, 2014 Mar 25, 2014

Copy link to clipboard

Copied

D:\sites\site1

D:\sites\site2

D:\sites\site3

If you define the sandbox to sites folder, then the settings also apply to sub-directories. It is working at my end.

Thanks

VJ

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 25, 2014 Mar 25, 2014

Copy link to clipboard

Copied

LATEST

Duplicate of http://forums.adobe.com/thread/1422827?tstart=0 (your other post in CF Admin.)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation