Author Topic: admin & user login to personal video db  (Read 4841 times)

0 Members and 1 Guest are viewing this topic.

Offline HSSBH

  • Member
  • *
  • Posts: 5
    • View Profile
admin & user login to personal video db
« on: February 03, 2009, 06:44:04 pm »
thanx aloots for that software
its very nice & easy to use.

but why the admin & user login not developinig.

so admin can edit and full acsses to the database
and user can read datbase information only

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: admin & user login to personal video db
« Reply #1 on: February 03, 2009, 07:49:33 pm »
The program is for personal use mainly, so it is unlikely to have admins and users with different access rights. I also want to keep the program as simple as possible. You can "hide" editing functionality with -readonly command line parameter. To hide Settings use the -noconfig parameter.
Gentlemen, you can’t fight in here! This is the War Room!

Offline HSSBH

  • Member
  • *
  • Posts: 5
    • View Profile
Re: admin & user login to personal video db
« Reply #2 on: February 04, 2009, 02:18:29 pm »
thanx mr.nostra for your anser.
but how to make my data base as read only
can i enter a password for edit mode as delet and add movies
and read only without password so i cant delet and add or edit in data base

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: admin & user login to personal video db
« Reply #3 on: February 04, 2009, 04:32:54 pm »
In 0.9.9.4 beta there are 2 possibilities:
1. Set password (Main menu)
2. Start the application like this: videodb.exe -readonly (has bugs in the current verion :(  )
« Last Edit: February 04, 2009, 04:34:27 pm by nostra »
Gentlemen, you can’t fight in here! This is the War Room!

Offline HSSBH

  • Member
  • *
  • Posts: 5
    • View Profile
Re: admin & user login to personal video db
« Reply #4 on: February 04, 2009, 04:45:54 pm »
i try but still its work in edit mode

i need somthing to make that option in PVD PROG. as edit mode &  read only mode.
can you help me mr.nostra

the software is very good and i used and i descover many option on it.

i like it too mach but same i till you i need that option only wich its omprtants for me

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: admin & user login to personal video db
« Reply #5 on: February 04, 2009, 07:27:34 pm »
Sorry, but I do not understand what do you want to do?
Could you try to explain your problem a bit more precisely?
Gentlemen, you can’t fight in here! This is the War Room!

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: admin & user login to personal video db
« Reply #6 on: February 04, 2009, 11:48:31 pm »
I think what HSSBH wants is the ability to password protect the edit function. The readonly switch applies at startup, and applies whether or not the database is password protected. I have to agree the readonly and noconfig options would be more useful if they were password protected attributes of the database files. In other words, when assigning a password to a database, one would select the desired security attributes: view, edit and/or configure.

If HSSBH can trust his users, he can create a shortcut with the -readonly switch and ask them to use only that shortcut to start the program. If, for example, he's only concerned about other family members, he could put this readonly shortcut on the desktop and hide his own full-access shortcut. He could add a little more security by using something like Password-It! to add password protection to his shortcuts. If he has $10 to spare, however, it would be better to donate it here. ;)

Offline HSSBH

  • Member
  • *
  • Posts: 5
    • View Profile
Re: admin & user login to personal video db
« Reply #7 on: February 05, 2009, 04:51:44 pm »
thanx rick.ca you konw what i want..

its good thinks  to do password for shoutcut, but how to do read only switch?
the main thinks is how to protect the edit function by password?


School Library System 2.0 (Freeware)
http://moshax.com/download/details/73603/School%20Library%20System%202.0%20
this is small application for borrower its good.
you know is nice thinks in that application is user login..
you can login by admin and by many user, for each user diffrent password..

but its not have ability to configer for each user what can he do such as read or edit..

thats all
thanx toooooo... my friands

i hope to get any solution od idea to help me for my app.

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: admin & user login to personal video db
« Reply #8 on: February 05, 2009, 10:20:44 pm »
Quote
thanx rick.ca you konw what i want.

Perhaps, but nostra wants to keep it simple. While you may have a valid need for this, the program is for personal use and therefore most users have no interest in user access control. I think your only option is to use different shortcuts for starting the program with different access levels.

Quote
how to do read only switch?

You can "hide" editing functionality with -readonly command line parameter. To hide Settings use the -noconfig parameter.

The most convenient way to do this is to add the desired parameter to a shortcut for the program. In the shortcut properties, add the parameter to the Target box, like this:

          "C:\Program Files\PVD 0.9.9.4\viddb.exe" -readonly

That will effectively restrict access, but you will be left with the problem of restricting the use of the shortcut. How that might be done depends on your desktop environment and who is using the computer—which you have not described. If your users have to log on to Windows, you would put only the restricted access shortcut on their desktop. If everyone uses the same logon, you could provide a separate shortcut for each user or type of user, and, if necessary, force everyone to use only their own shortcut by password protecting them all using Password-It!

The simplest situation is where you want full access for yourself, but want to restrict access for anyone else. The cheap and easy solution is to use two shortcuts. For other users, put a restricted access shortcut—as described above—on the desktop. For yourself, create a normal shortcut, but assign a shortcut key and set the Hidden attribute—or save it somewhere other than the desktop. You would start the program using your secret shortcut key, while everyone else would use the shortcut.


 

anything