开发者

Testing PHP/jQuery/xHTML/CSS programmers... Best way to set up a live multi-user (secure?) test environment [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I'd like to achieve the following:

Create something similar to http://jsfiddle.net/ where I can send users and allow them to build a PHP/jQuery/xHTML/CSS app live in their browser.

(note - please don't tell me this can't be done - the process doesn't have to be 100% automated - but close enough - we'd be only allowing legitimate user access (not a free for all - open to the www) - so these users wouldn't be malicious - (mostly :) -

The main problems I can see we'd need to overcome is security - how do we create the database/user-access?? Do we need multiple DBs? or could we use one DB and create the tables in such a way tha开发者_高级运维t each user can only read/write their own table?

Any ideas would be great!!!


The only issue here are the php and the database. If the user are certains to not be malicious... You could let user do whatever they want in PHP and give them total access to the database. (And hope no one goes butt-hurt)

For more security, the database, on registration (however you do it), could create a database user with limited right, create its own database and give your user those access.

You could inspire yourself from what shared web host do, because it's basically what you want to do...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜