Learn how to request and manage a database.
Wings enables Web developers to use an Oracle or MySQL database
to store non-essential and non-sensitive data. Personally
Identifiable Information (PII) should never be stored in your
If your request to add database interactivity to your site is granted, you will be given two accounts: a read-only account and an administrative account.
For further information on using Oracle functions with PHP visit php.net
Overview: The Central Campus Web Hosting Service allows web developers to use an Oracle Database to store non-essential data.
Upon request by a department head or node director, two Oracle accounts are created. One is a reader account, which has only read permissions. This is the account that should be used in all web based programs. The second account is an admin account, which has create, insert, modify, and delete privileges. Both of these accounts are created in a user specific tablespace and will not have access to any other tablespace or accounts. The reader account is given a quota of 2K. The admin account is given an initial quota of 10MB.
After receiving these two Oracle accounts a web developer is asked to secure his directory where the code resides. While developing, all code should have the proper extensions (.cgi , .pl or .php ). A web developer should never use a user/password in an .inc file or any files that can be rendered in a web browser. All users/passwords should be placed in files where it is parsed by the web server. Before going live with a web based program, the web developer should contact Wings (email@example.com). The Wings team will check their files for the proper extensions and permissions.
Securing User/Password files:
An include file is created in a separate directory tree apart from the document root of the web server. This file would be owned by "nobody". The wings team would create this file and send the web developer the proper path to use in Perl / PHP code.
If the configuration file is in the document root tree, then it should be in a password protected branch, separate from the CGI/PHP code, of the document root. You must authenticate to get at anything in this branch. In this directory, create an .htaccess file that contains:
order deny, allow deny from all
In this case the file owner can be the web developer.