Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Global password

Global password 3 years 6 months ago #57623

  • jcorreia
  • jcorreia's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Hi,
new to limesurvey and enjoying it. Nice program !

I´ve read wiki and token, but I couldn´t find a way to have a global password shared among users. The problem is I have a company with employees, and I want only this people to answer my survey. I will post the password in their Intranet.

Is this possible ?

I found a possible answer in wiki :

"Use general password for accessing a survey
If you don't want to use tokens but a general password to access a survey you can set your survey to "allow public access". Don't create a token table but use the following workaround:

1. Create a short text question first
2. Create the other questions
3. Use conditions on all the other questions. You can use regular expressions to validate the string entered at the short text question. Just validate a certain password. If the password is correct the following questions are shown.
4. Create a boilerplate question which just says "invalid password" which is shown if the user entered a wrong password.
"

But I think this is more like a workaround because other people can enter in the survey and read my welcome message, for instance.


Thanks !!
The administrator has disabled public write access.

Re: Global password 3 years 6 months ago #57625

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4138
  • Thank you received: 767
  • Karma: 348
How about placing your LS installation in a password protected directory?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Re: Global password 3 years 6 months ago #57647

  • jcorreia
  • jcorreia's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
It was a solution if I only wanted that company in particular to answer, but I need to place some anonymous surveys to public, so it´s no good.

A password protected directory also has a "user", and can frustrate people, which means...no answering.

Thanks
The administrator has disabled public write access.

Re: Global password 3 years 6 months ago #57657

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6276
  • Thank you received: 801
  • Karma: 240
You can see the workaround section to have some idea.

You can use specific question, LimeSurvey php code hacking, and sure some other possibility ( maybe a javascript solution in startpage )
The administrator has disabled public write access.

Re: Global password 3 years 5 months ago #57679

  • jcorreia
  • jcorreia's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Ok, i can see this will only work with some workarounds or code change, not out of the box.

I think this would be a nice feature to be added to lime survey.
The administrator has disabled public write access.

Re: Global password 3 years 5 months ago #57696

  • ftrifoglio
  • ftrifoglio's Avatar
  • OFFLINE
  • Junior Lime
  • Posts: 20
  • Karma: 1
Add as first a short free text question.

Set it as mandatory and write the password in brackets -es. (12345)- in the validation field.

Don't show the welcome screen.
The administrator has disabled public write access.

Re: Global password 2 years 10 months ago #67422

  • harshagile
  • harshagile's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 18
  • Karma: 0
Hi jcorreia

I want to develop same logic as you describe.
I want to make my survey for few person and who has one password which i am sending so is there any way which can asking the password at a loading time of survey one time to check that accessible survey or not ?

Please give me your best answer.

Thanks
The administrator has disabled public write access.

Re: Global password 2 years 10 months ago #67425

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5324
  • Thank you received: 294
  • Karma: 249
Please check the answers above, there are some solutions posted yet.

If that doesn't do the trick, the easiest solution would be to code your own script which is put before the survey (workflow-wise). That script can ask for a password and if everything is correct, it redirects the user to a predefined survey.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Last Edit: 2 years 10 months ago by Mazi.
The administrator has disabled public write access.

Re: Global password 2 years 10 months ago #67432

  • Ben_V
  • Ben_V's Avatar
  • OFFLINE
  • Platinum Lime
  • Posts: 1068
  • Thank you received: 235
  • Karma: 74
Hi,
have a look on the attached file...
It's the very simple (html+javascript) way I use to compose the final URL using the SURVEY ID as global password.
Obviously, your survey won't be listed on your LS installation homepage and 'll be protected against search engines spiders...

Ben
Attachments:
Benoît

goo.gl/Bw5iM => Recherche GG dans le forum français (remplacer "exemple" dans la barre de recherche)
goo.gl/WX8PH => GG search for english forum (Replace "example" in the search bar)
goo.gl/IxiGu => Búsqueda en el foro en español (Cambiar "ejemplo" en la barra de...
The administrator has disabled public write access.

Re: Global password 2 years 10 months ago #67436

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6276
  • Thank you received: 801
  • Karma: 240
And now, with Uses left function on token you can have 10 000 000 access to a survey with the same token code.

Token is the global password.

And you can have 3/5/100 token like that ( for example to have answer by services etc ....).

LS is great !
Last Edit: 2 years 10 months ago by DenisChenu.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.163 seconds
Donation Image