Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
secure, external development environment??
Old 09-27-2007, 02:45 PM secure, external development environment??
Novice Talker

Posts: 13
Trades: 0
Hello,

We are a small shop (1 1/2 developers) running our organizations sites. The sites are mostly content, but are beginning to have small database apps. When I arrived, there was no formal development or staging environment, so I'm trying to get that set up.

We have no servers on site...we have dedicated virtual through Media Temple as our host. My thought was to just use a separate domain for development.

My question is: Right now, another domain would be open for anyone to look at if they found it. Because we'll be using it to develop applications, we clearly don't want people able to get there before we've written fully well-thought-out and secure code. Is there a way to stop other people from accessing the server while still letting me access it?

Also, what are people's thoughts on best practices for dev servers? (I've worked in an extremely large organization before where we had development, test, beta, and production. But that's beyond the needs we have right now.)

Thanks!
greencampuscm is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-27-2007, 03:10 PM Re: secure, external development environment??
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
I did not know you could have One and One-Half developers.

If you want a development environment look into XAMPP, It's a server emulator (type thing) that lets you run PHP scripts, MySQL stuff and loads of other things on your localhost.

For dev servers, put them at the top security setting (so your scripts have to do lots of checks ETC) and keep them off the internet unless it's really needed (Someone could see whats you doing and copy).
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE

Last edited by rogem002; 09-27-2007 at 03:12 PM..
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 09-27-2007, 03:14 PM Re: secure, external development environment??
Novice Talker

Posts: 13
Trades: 0
OK, one thing I should add--we don't have admin rights to our computers (LOL) because our over-arching department is extremely paranoid and we are not allowed to have WAMP or any server software on our computers.

This sucks, but it's because we're not part of their main IT group, which develops in Java, and has their own servers. We're kind of the neglected stepchild, and we are thus hosting externally.

So me having WAMP or XAMPP is not possible. Crazy, but that's the way it is.

So any other ideas would be very helpful.
greencampuscm is offline
Reply With Quote
View Public Profile
 
Old 09-27-2007, 03:17 PM Re: secure, external development environment??
Novice Talker

Posts: 13
Trades: 0
Actually, if someone would like to give me a well-explained reason why it's really ok to have WAMP or XAMPP on my computer (how i can ensure that it is secure and not going to open up their network to a breach), maybe I can argue my case.

The head of IT said...that's server software and we can't have it on any desktop machines (their developers use the Eclipse IDE to develop their java apps).

This is just not my strong point...I've never had to be so do-it-yourself with infrastructure issues...we always had good IT infrastructure at other jobs.
greencampuscm is offline
Reply With Quote
View Public Profile
 
Old 09-27-2007, 03:20 PM Re: secure, external development environment??
Ultra Talker

Posts: 483
Trades: 0
Basic argument: if you have a server set up on your desktop there and someone from the outside world can access it, that means you have no firewall protecting your internal network.

That is to say, an open HTTP server is the ABSOLUTE LEAST of your worries!

No-one should be able to access your internal/desktop server from outside unless your network admins have an IQ of around 60.
__________________

Please login or register to view this content. Registration is FREE
TwistMyArm is offline
Reply With Quote
View Public Profile
 
Old 09-27-2007, 03:28 PM Re: secure, external development environment??
Novice Talker

Posts: 13
Trades: 0
OK, I'll try that approach. Now pardon my ignorance please, but if anyone has any suggestions on how to secure an external server (we have an offsite developer as well, so it will be good to have a place where we can test out our combined code before pushing it to production).
greencampuscm is offline
Reply With Quote
View Public Profile
 
Old 09-27-2007, 03:54 PM Re: secure, external development environment??
Ultra Talker

Posts: 483
Trades: 0
I don't know about anyone else, but if it were me, I would only ever use an external development server as my final test before pushing something live.

Depending on the quality of your network admins, there is nothing stopping them from setting up a VPN so your external developer could make a (secure) connection to your internal network and work on the exact same internal server that you do.
__________________

Please login or register to view this content. Registration is FREE
TwistMyArm is offline
Reply With Quote
View Public Profile
 
Old 09-27-2007, 04:16 PM Re: secure, external development environment??
Novice Talker

Posts: 13
Trades: 0
I agree that that makes the most sense. However, I'm not going to get support from the network admins here. Trust me, it's a strange situation of departmental politics. And within that context, I gotta get a website up, and need a place to test it out first (as well as show it to co-workers occasionally).

So, assuming I need to use an external server, can anyone help me figure out a decent secure way to do this? We're not talking super-critical applications here, but still don't want our site hacked and database compromised, etc.
greencampuscm is offline
Reply With Quote
View Public Profile
 
Old 09-27-2007, 04:19 PM Re: secure, external development environment??
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
The second best thing i can recommend is *I guess* is buying some cheap hosting (a few 100MB should do) and working with that.

I'm on a developer server right now, they cost a bit (not many people use them) but you get a lot for your money (Think of it like bulk buying)...I hate to make a sales pitch, but if you want some on the cheap, give me a bell
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE

Last edited by rogem002; 09-27-2007 at 04:22 PM..
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 09-27-2007, 04:22 PM Re: secure, external development environment??
Novice Talker

Posts: 13
Trades: 0
Right, I have hosting...the question is how to make the domain not publicly available, but still let me and a few other folks view it.
greencampuscm is offline
Reply With Quote
View Public Profile
 
Old 09-27-2007, 04:23 PM Re: secure, external development environment??
Novice Talker

Posts: 13
Trades: 0
It's Apache...I used to work in a windows environment and there was a windows security solution.
greencampuscm is offline
Reply With Quote
View Public Profile
 
Old 09-27-2007, 04:25 PM Re: secure, external development environment??
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
Oh, Httaccess would do you fine. In other words, password protect the directory

What I like to do is something like:

mydomains.com/projects/project_name/gamma
mydomains.com/projects/project_name/beta
mydomains.com/projects/project_name/alpha

this way, all you gotta do is password protect 'projects'.

Also, an above post said that http servers on your local is a big dodgy. I've currently got a 2 firewall setup:
1 - redirects to another page...or redirects to me
2 - makes you answer some questions if my server is on, or denies access. I best also point out. It's only allowed access to one folder.
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE

Last edited by rogem002; 09-27-2007 at 04:31 PM..
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 09-28-2007, 12:01 PM Re: secure, external development environment??
Novice Talker

Posts: 13
Trades: 0
That's great! That's the info I was looking for. I'm searching on .htaccess and password protection and finding what i need.

Thanks so much!
greencampuscm is offline
Reply With Quote
View Public Profile
 
Old 09-28-2007, 12:16 PM Re: secure, external development environment??
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
**** i been reading and he got there first

Also i would say set up a sub domain like dev.domain.com and if you have cPanel with your host you can easily do the htaccess password through the panel nice and easy.
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 09-28-2007, 12:43 PM Re: secure, external development environment??
Novice Talker

Posts: 13
Trades: 0
well, actually, that would be good to do it through the control panel. I have plesk, but haven't seen anywhere on there to password protect directories. Do you know where it is in plesk?

All the password protection i've come across there is for setting up users to access plesk itself.
greencampuscm is offline
Reply With Quote
View Public Profile
 
Old 09-28-2007, 12:46 PM Re: secure, external development environment??
Novice Talker

Posts: 13
Trades: 0
actually, i think i just found it. Thanks for the tip!!
greencampuscm is offline
Reply With Quote
View Public Profile
 
Old 09-28-2007, 01:01 PM Re: secure, external development environment??
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
Glad i could help, Btw if you would like cPanel talk to me
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Reply     « Reply to secure, external development environment??
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.49603 seconds with 12 queries