Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Allow GET requests only after a redirect

7 views
Skip to first unread message

tomrossi7

unread,
Oct 4, 2010, 2:39:19 PM10/4/10
to ruby-aws
Is there a way to set a policy such that any GET request must be the
result of a redirect? I don't care what the referring URL is, but I
need to make sure it is a redirect. Does that make sense?

Travis Reeder

unread,
Oct 4, 2010, 4:02:44 PM10/4/10
to ruby...@googlegroups.com
Why would you want to do this?  And does this have to do with the AWS library?


--
You received this message because you are subscribed to the Google Groups "ruby-aws" group.
To post to this group, send email to ruby...@googlegroups.com.
To unsubscribe from this group, send email to ruby-aws+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ruby-aws?hl=en.


tomrossi7

unread,
Oct 4, 2010, 4:14:12 PM10/4/10
to ruby-aws
Its a complicated scenario, but basically we don't want users
distributing the direct S3 link. We want them to use a redirection,
but the URL is dynamic so we don't want to hardcode it. And yes, we
are currently using AWS, but without any access policies.

So, my original question is, can we use AWS to create a policy such
that it only responds to redirects, but doesn't care what the
referring URL is?

Thanks,
Tom

On Oct 4, 4:02 pm, Travis Reeder <tree...@gmail.com> wrote:
> Why would you want to do this?  And does this have to do with the AWS
> library?
>
>
>
> On Mon, Oct 4, 2010 at 11:39 AM, tomrossi7 <t...@themolehill.com> wrote:
> > Is there a way to set a policy such that any GET request must be the
> > result of a redirect?  I don't care what the referring URL is, but I
> > need to make sure it is a redirect.  Does that make sense?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "ruby-aws" group.
> > To post to this group, send email to ruby...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > ruby-aws+u...@googlegroups.com<ruby-aws%2Bunsubscribe@googlegroups.c om>
> > .
Reply all
Reply to author
Forward
0 new messages