How can i remove security checks from gallery2

rksrivastava

Joined: 2011-01-20
Posts: 5
Posted: Mon, 2011-01-24 13:26

i don't want to check security in my gallery2 and i want to remove that function
your solution will be appreciated
thanks

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Mon, 2011-01-24 14:12

Perhaps a better solution would be to describe the issue you are having with the feature and post the relevant information about your setup. It is likely that there is an existing easy fix.

--
dakanji.com

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2011-01-24 16:25

What security checks? safe_mode? If so, edit the code. That's all the support you're going to get from me (and probably the other support people).
____________________________________________
Like Gallery? Like the support? Donate now!

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2011-01-24 16:27
Quote:
i don't want to check security in my gallery2 and i want to remove that function

There are lots of parts of G2 that could be understood as a 'security function' - as Dayo says, perhaps if you give a bit more detail of what you want to achieve we could be more help.

 
rksrivastava

Joined: 2011-01-20
Posts: 5
Posted: Tue, 2011-01-25 04:37

i want to integrate gallery2 in my web application & when my register user access gallery2 it should be treated as a register user where they can use functionality as a register user of gallery2 so i tried to login in gallery2 without login form then security voilation message occur & it stop the login.
How can i login in gallery2 from my web-application

Thanks...

 
rksrivastava

Joined: 2011-01-20
Posts: 5
Posted: Tue, 2011-01-25 04:50
nivekiam wrote:
What security checks? safe_mode? If so, edit the code. That's all the support you're going to get from me (and probably the other support people).
____________________________________________
Like Gallery? Like the support? Donate now!

I want remove security checks when user login from another way into gallery2, i want to say no checks when user login into gallery2

Accept Cross-site request in login

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Tue, 2011-01-25 08:06

There will have to be checks when a user logs into any application so forget going down that line. What you need to do is to manage the process.

Read up on embedding/integration which is well documented and look at existing examples.

http://codex.gallery2.org/Gallery2:Embedding:Event-Based_Loose-Coupled_Integration
http://codex.gallery2.org/Integration
http://codex.gallery2.org/Gallery2:Embedding:Integration_Aspects

In any case, why not just run the manual login code from your other application?

You will need to have had the user already created in G2 (Look at Event Synchronisation in the first link I gave to automate this) and set the captcha module, if used, to only trigger after a few attempts at login so that the first attempt is blocked by this module.

As said, there are many examples you can look at which manage users between applications. There is a defined protocol / API existing and you only have to read up on it and apply it or get someone to do this for you.

--
dakanji.com