Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote datasource #74

Open
smercier opened this issue Feb 17, 2014 · 1 comment
Open

Remote datasource #74

smercier opened this issue Feb 17, 2014 · 1 comment

Comments

@smercier
Copy link
Contributor

Add remote datasource function in scribre mapfile. This new feature could help in many case.

DATA: remote_data("http://smercp1.public.s3.amazonaws.com/data/my_data.zip","my_data_name",[force_download]="false")

This function should download data, unzip in project data directory and add it in mapfile.

Could be fun to have the same function for Web font source

url("font_url")
@dmorissette
Copy link
Member

If support for remote data is added, please keep in mind the potential risk for malware injection through the remote file, cross-site scripting or similar type of vulnerabilities.

I'm not saying that we should not support remote assets, just that this needs to be done with care to prevent the possibility of Scribe becoming a vector for compromising servers, which would look very bad on the product.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants