flash_policy_server 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,6 +1,28 @@
1
- = flash policy server
1
+ = A Flash Policy Server in Ruby
2
2
 
3
- Description goes here.
3
+ This is a simple Ruby-based policy server to serve Flash's crossdomain.xml policy file.
4
+
5
+ == Rationale
6
+
7
+ The web is increasingly realtime, but websockets still aren't supported on older browser clients. Many server push libraries (e.g. socket.io) attempt to use websockets, with a Flash fallback. Others (amqp.js, for instance) are Flash only.
8
+
9
+ When using Flash sockets, it's necessary to have a policy server running on port 843, in order to set cross domain policy. This library does the job.
10
+
11
+ == Usage
12
+
13
+ Because Adobe was kind enough to pick a low port (843), the server needs to be run as root:
14
+
15
+ sudo flash_policy_server
16
+
17
+ If you don't yet have a crossdomain.xml in your current working directory, you'll be prompted to make one before the server can start. *NB*: the sample crossdomain.xml in the usage prompt is the most permissive possible policy.
18
+
19
+ You should read up on the crossdomain.xml spec if you don't understand the security implications of this file. It's here:
20
+
21
+ http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html
22
+
23
+ == Installation
24
+
25
+ gem install flash_policy_server
4
26
 
5
27
  == Contributing to flash-policy-server
6
28
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "flash_policy_server"
8
- s.version = "0.0.2"
8
+ s.version = "0.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["dave"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flash_policy_server
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - dave