View unanswered posts | View active topics It is currently Sun May 19, 2013 8:49 am



Reply to topic  [ 8 posts ] 
Need a login script 
Author Message

Joined: Fri Oct 30, 2009 2:54 am
Posts: 45
Post Need a login script
I'm looking for someone that can write a script for me that will allow me to pass the login/password to ZM through the URL. The reason I want this is so I can use a custom web page that will consolidate about 60 cameras across five ZM machines. The person will log in to my page and their login/password will be the same on each DVR. When they click the URL it will pass the username/password from my web session to the DVR via the URL and allow for a transparent login.

Yes, I know it will be tougher to manage on the back-end, not as secure, etc, but my goal is to ease the end-user experience. I'd rather support a login password issue every now and then, than to deal with complaints of difficulty of use. I still need the security to a degree so I kind of have to approach it this way unless someone else has a better suggestion. I have the custom web database built already, just need the script to pass it through.

It's my understanding this will need to be a cgi or javascript or some type, but I'm not certain. Thoughts and suggestions would be appreciated.


Wed Jul 14, 2010 10:17 pm
Profile
User avatar

Joined: Mon Mar 26, 2007 7:07 am
Posts: 1101
Location: Las Vegas, Nevada
Post 
All you have to do is pass the correct form variables to the login.php file then the browser will receive the cookie from that server. After that you can access zm functions normally.

Another option if you want a separate login system is to use php as a proxy.[/list]

_________________
GOOGLE TUTORIAL

Professional ZM install
Give PM or email.
E-lance Profile Link

Experiment/Blog


Thu Jul 15, 2010 9:41 pm
Profile YIM

Joined: Fri Oct 30, 2009 2:54 am
Posts: 45
Post 
kingofkya wrote:
All you have to do is pass the correct form variables to the login.php file then the browser will receive the cookie from that server. After that you can access zm functions normally.


Are you saying this can be done via a URL? If so, I can't get it to work. By using login.php?username=bob&password=letmein&submit=yes it only populates the username field.


Thu Jul 15, 2010 9:46 pm
Profile
User avatar

Joined: Mon Mar 26, 2007 7:07 am
Posts: 1101
Location: Las Vegas, Nevada
Post 
via a form post

http://www.w3schools.com/tags/att_form_method.asp

GET is in the url like you were doing.
Post is more a less hidden.

Heres how you do it.
http://www.html-form-guide.com/php-form ... ubmit.html

_________________
GOOGLE TUTORIAL

Professional ZM install
Give PM or email.
E-lance Profile Link

Experiment/Blog


Fri Jul 16, 2010 9:09 pm
Profile YIM

Joined: Fri Oct 30, 2009 2:54 am
Posts: 45
Post 
kingofkya wrote:
via a form post

http://www.w3schools.com/tags/att_form_method.asp

GET is in the url like you were doing.
Post is more a less hidden.

Heres how you do it.
http://www.html-form-guide.com/php-form ... ubmit.html


Please forgive my ignorance, but I need someone to do this for me and make it work so I can implement it. I don't really have time to figure it out myself. I'm willing to pay someone for a one-off to make this happen, so if you or someone else can make this work and let me know what your cost will be, I'd be happy to work it out to pay for the time involved.


Mon Jul 19, 2010 6:20 am
Profile
User avatar

Joined: Mon Mar 26, 2007 7:07 am
Posts: 1101
Location: Las Vegas, Nevada
Post 
Honestly this will take about a 30min to a hour to implement.

If you would like I can do this for you for you.
$30 per hour is my fee.

What I am assuming you want 1 page with all cameras viewable.

NO navigation or PTZ controls; 1 login;
Edit: never mind i guess pics can easily link to camera page.

My email is ######### if your interested in discussing.


If you would like to contract me to do this heres how it works.
I program what you need.
Let you look at completed project running on my server.
Revisions.
Log my time and send a invoice.
You send payment via paypal or mail check.
Once payment clears.
I tar/zip the code and send it.
And help you configure if needed.

References of my work:
http://ericabarclayphotography.com/
http://siicountertops.com/

_________________
GOOGLE TUTORIAL

Professional ZM install
Give PM or email.
E-lance Profile Link

Experiment/Blog


Wed Jul 21, 2010 6:01 am
Profile YIM

Joined: Sat Apr 14, 2012 4:10 am
Posts: 1
Post Re: Need a login script
troyy0206 wrote:
I'm looking for someone that can write a script for me that will allow me to pass the login/password to ZM through the URL. The reason I want this is so I can use a custom web page that will consolidate about 60 cameras across five ZM machines. The person will log in to my page and their login/password will be the same on each DVR. When they click the URL it will pass the username/password from my web session to the DVR via the URL and allow for a transparent login.

Yes, I know it will be tougher to manage on the back-end, not as secure, etc, but my goal is to ease the end-user experience. I'd rather support a login password issue every now and then, than to deal with complaints of difficulty of use. I still need the security to a degree so I kind of have to approach it this way unless someone else has a better suggestion. I have the custom web database built already, just need the script to pass it through.

It's my understanding this will need to be a cgi or javascript or some type, but I'm not certain. Thoughts and suggestions would be appreciated.


I also think so.


Sat Apr 14, 2012 4:25 am
Profile

Joined: Sat Jul 14, 2012 5:01 pm
Posts: 3
Post Re: Need a login script
you just think so..But i am in a problem. I need confirmation. Can any one give the confirm report. Thanks


Sat Jul 21, 2012 7:05 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group