The idea was to set up a reverse proxy in front of portia and configure
auth in the reverse proxy. I think you'll find some help if you google for
it.

I don't think this would be difficult to implement in portia though.



On 28 May 2014 19:26, christoph <[email protected]> wrote:

> Hi shane,
>
> thank you for the quick reply. Could you please explain your second
> suggestion a bit? Do you have an example?
>
> Thank you,
> Christoph
>
> Am Dienstag, 27. Mai 2014 22:05:39 UTC+2 schrieb shane:
>>
>> There is no way to do that with Portia at present.
>>
>> We will be adding a hosted Portia to Scrapinghub soon. Perhaps as part of
>> that work there might be something you could use. It's not that much work
>> to add what you're looking for I think.
>>
>> Another idea is to put a proxy in front of it that can restrict access by
>> http request path.. that could be an approach that doesn't need changes to
>> Portia, not sure if it's going to be easier for  you - good luck!
>>
>> Shane
>>
>>
>> On 27 May 2014 15:31, christoph <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I would like to setup Scrapy (Portia - https://github.com/
>>> scrapinghub/portia) to work with multiple users that have their own
>>> project directory and cannot see other projects.
>>> Background information: Users can register on my website and should be
>>> able to setup crawlers/crawl-projects with Portia.
>>>
>>> Problem is that Portia only has one project directory and every use sees
>>> all projects. I want to create a project directory for every user that
>>> register to my website.
>>> Is it possible to solve this via configuration of portia or do I have to
>>> change parts of the portia source code?
>>>
>>> I am running Scrapy/Portia on Ubuntu 12.04 Server.
>>>
>>> Thank you,
>>> Christoph
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "scrapy-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>>
>>> Visit this group at http://groups.google.com/group/scrapy-users.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "scrapy-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/scrapy-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to