# Filtering URLs

**URL:** <https://community.wowza.com/t/filtering-urls/36485>\
**Category:** Wowza Developer Dojo\
**Tags:** wowza-streaming-server-java-api\
**Created:** [June 16, 2015, 9:49am UTC](https://community.wowza.com/t/filtering-urls/36485 "2015-06-16T09:49:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janez\_Makovsek](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@Janez\_Makovsek](https://community.wowza.com/u/Janez_Makovsek)\
**Post date:** [June 16, 2015, 9:49am UTC](https://community.wowza.com/t/filtering-urls/36485/1 "2015-06-16T09:49:59Z")

</div>

Hi,

Is there a way to specify valid URLs that the user can enter and only those URLs will be passed on to wowza? For example for myApp application only the following http request should be reaching Wowza:

http:/domain.com/MyApp/mp4:myStream

People can enter all sorts of stuff:

http:/domain.com/ThyApp

http:/domain.com/mp4:Test

etc. which causes Wowza sometimes to crash.

Thanks!

Atmapuri

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [June 22, 2015, 1:45pm UTC](https://community.wowza.com/t/filtering-urls/36485/2 "2015-06-22T13:45:36Z")

</div>

Hi there.

You can use this API and create some logic to _**String queryStr = httpSession.getQueryStr();**_ to determine if the query is good or not:

[How to control access to HTTP streams (cupertinostreaming, sanjosestreaming, smoothstreaming, mpegdashstreaming)](https://www.wowza.com/docs/how-to-control-access-to-http-streams-cupertinostreaming-sanjosestreaming-smoothstreaming-mpegdashstreaming%28cupertinostreaming-sanjosestreaming-smoothstreaming-mpegdashstreaming%29)

You should also look through this guide:

[Media security overview](https://www.wowza.com/docs/media-security-overview%28SecureToken-RTMP-RTSP-Authentication-and-more%29)

Regards,

Salvadore
