aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Net/IHasAuthorization.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-07-02 00:57:18 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-07-02 00:57:18 -0400
commit389390b82ecfbb48e0486f8f132046ddf8624e00 (patch)
treec03ffa22f3a2fe668bb9be7078ad83fea3177796 /MediaBrowser.Controller/Net/IHasAuthorization.cs
parent3bef6ead9cec4c33d43b6348ae4fc33c9b70316a (diff)
fixes #789 - Security Issue: API allows access to any folder of the PC running MediaBrowser
Diffstat (limited to 'MediaBrowser.Controller/Net/IHasAuthorization.cs')
-rw-r--r--MediaBrowser.Controller/Net/IHasAuthorization.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Net/IHasAuthorization.cs b/MediaBrowser.Controller/Net/IHasAuthorization.cs
new file mode 100644
index 000000000..6fc70159d
--- /dev/null
+++ b/MediaBrowser.Controller/Net/IHasAuthorization.cs
@@ -0,0 +1,12 @@
+
+namespace MediaBrowser.Controller.Net
+{
+ public interface IHasAuthorization
+ {
+ /// <summary>
+ /// Gets or sets the authorization context.
+ /// </summary>
+ /// <value>The authorization context.</value>
+ IAuthorizationContext AuthorizationContext { get; set; }
+ }
+}