359件ヒット
[1-100件を表示]
(0.076秒)
ライブラリ
-
cgi
/ session (11) -
digest
/ sha1 (11) -
digest
/ sha2 (33) - drb (11)
- fileutils (88)
- securerandom (73)
- tmpdir (22)
クラス
-
CGI
:: Cookie (22) -
CGI
:: Session (11) -
DRb
:: DRbServer (11) - Dir (22)
-
WEBrick
:: Cookie (11)
モジュール
- FileUtils (88)
- SecureRandom (73)
キーワード
-
INSECURE
_ METHOD (11) -
NEWS for Ruby 2
. 0 . 0 (11) - SHA1 (11)
- SHA256 (11)
- SHA384 (11)
- SHA512 (11)
- alphanumeric (7)
- base64 (11)
-
digest
/ sha1 (11) -
digest
/ sha2 (11) - hex (11)
- mktmpdir (22)
- move (11)
- mv (11)
- new (22)
- openssl (11)
-
random
_ bytes (11) -
random
_ number (11) -
remove
_ entry (11) -
remove
_ entry _ secure (11) -
rm
_ r (11) -
rm
_ rf (11) - rmtree (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
urlsafe
_ base64 (11) - uuid (11)
検索結果
先頭5件
-
WEBrick
:: Cookie # secure -> bool (18224.0) -
クッキーのSecure属性を真偽値で表すアクセサです。
...クッキーのSecure属性を真偽値で表すアクセサです。
@param value クッキーのSecure属性を真偽値で指定します。... -
CGI
:: Cookie # secure -> bool (18201.0) -
自身がセキュアクッキーである場合は、真を返します。 そうでない場合は、偽を返します。
自身がセキュアクッキーである場合は、真を返します。
そうでない場合は、偽を返します。 -
FileUtils
. # remove _ entry _ secure(path , force = false) -> () (6243.0) -
ファイル path を削除します。path がディレクトリなら再帰的に削除します。
...す。path がディレクトリなら再帰的に削除します。
FileUtils.#rm_r および FileUtils.#remove_entry には
TOCTTOU (time-of-check to time-of-use)脆弱性が存在します。
このメソッドはそれを防ぐために新設されました。
FileUtils.#rm_r および FileUtil......クを持つ
この脆弱性を防ぐため、remove_entry_secure は削除前に path 以下の
ディレクトリのオーナーとパーミッションを変更し、上記の条件を回避します。
ただし remove_entry_secure は親ディレクトリが以下の条件を満たすことを......場合 / や /var が全ユーザから書き込み可能であってはなりません。
この条件が満たされない場合 remove_entry_secure は安全ではありません。
@param path 削除するパス。
@param force 真のときは削除中に発生した StandardError を無視... -
DRb
:: DRbServer :: INSECURE _ METHOD -> [Symbol] (6200.0) -
セキュアでないメソッドのリスト。
セキュアでないメソッドのリスト。
これに含まれるメソッドは dRuby 経由では呼び出せません。 -
ruby 1
. 6 feature (5262.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...グ修正がメイン
になります。
((<stable-snapshot|URL:ftp://ftp.netlab.co.jp/pub/lang/ruby/stable-snapshot.tar.gz>)) は、日々更新される安定版の最新ソースです。
== 1.6.8 (2002-12-24) -> stable-snapshot
: 2003-01-22: errno
EAGAIN と EWOULDBLOCK が同じ値の......> ruby 1.6.7 (2002-03-01) [i586-linux]
Errno::EAGAIN
Errno::EWOULDBLOCK
=> ruby 1.6.8 (2002-12-24) [i586-linux]
Errno::EAGAIN
-:2: uninitialized constant EWOULDBLOCK at Errno (NameError)
=> ruby 1.6.8 (2003-02-13) [i586-linux]......$SAFE = 4
a.life -= 1
end.join
p a.life
=> ruby 1.6.4 (2001-06-04) [i586-linux]
6
=> ruby 1.6.4 (2001-08-06) [i586-linux]
-:6:in `life=': Insecure: can't modify Struct (SecurityError)
from -:3:in `join'
from -:3
: ((<String>))#rindex... -
SecureRandom
. uuid -> String (3148.0) -
バージョン 4 の UUID (Universally Unique IDentifier) を生成して返します。
...ある情報を含みません。
@raise NotImplementedError 安全な乱数発生器が使えない場合に発生します。
require 'securerandom'
p SecureRandom.uuid #=> "2d931510-d99f-494a-8c67-87feb05e1594"
p SecureRandom.uuid #=> "62936e70-1815-439b-bf89-8492855a7e6b"
@see 4122... -
SecureRandom
. urlsafe _ base64(n = nil , padding = false) -> String (3128.0) -
ランダムで URL-safe な base64 文字列を生成して返します。
...ランダムで URL-safe な base64 文字列を生成して返します。
@param n 文字列の生成に使われるランダムネスのサイズを整数で指定します。
生成される文字列のサイズはn の約 4/3 倍になります。
nil を指定した場合 n......securerandom'
p SecureRandom.urlsafe_base64 #=> "b4GOKm4pOYU_-BOXcrUGDg"
p SecureRandom.urlsafe_base64 #=> "UZLdOkzop70Ddx-IJR0ABg"
p SecureRandom.urlsafe_base64(nil, true) #=> "i0XQ-7gglIsHGV2_BNPrdQ=="
p SecureRandom.urlsafe_base64(nil, true) #=> "-M8rLhr7JEpJlqFGUMmOxg=="
@see Secure... -
SecureRandom
. alphanumeric(n = nil) -> String (3118.0) -
ランダムな英数字を生成して返します。
...れます。
@return A-Z, a-z, 0-9 からなる文字列が返されます。
@raise NotImplementedError 安全な乱数発生器が使えない場合に発生します。
//emlist[][ruby]{
require 'securerandom'
p SecureRandom.alphanumeric #=> "2BuBuLf3WfSKyQbR"
p SecureRandom.alphanumeric(10) #=... -
SecureRandom
. base64(n = nil) -> String (3100.0) -
ランダムな base64 文字列を生成して返します。
...3 倍になります。nil を指定した場合 n として 16 が使われます。
@raise NotImplementedError 安全な乱数発生器が使えない場合に発生します。
require 'securerandom'
p SecureRandom.base64(3) #=> "4pYO" (文字列のサイズは 3 でない)
@see 3548... -
SecureRandom
. hex(n = nil) -> String (3100.0) -
ランダムな hex 文字列を生成して返します。
...n の 2 倍になります。nil を指定した場合 n として 16 が使われます。
@raise NotImplementedError 安全な乱数発生器が使えない場合に発生します。
require 'securerandom'
p SecureRandom.hex(3) #=> "f72233" (文字列のサイズは 3 でない)...